# Contributor: Milan P. Stanić <mps@arvanta.net>
# Maintainer: Milan P. Stanić <mps@arvanta.net>
pkgname=yascreen
pkgver=1.86
pkgrel=1
pkgdesc="yet another screen library (lib(n)curses alternative)"
url="https://github.com/bbonev/yascreen"
license="GPL-3.0-or-later"
arch="all"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="go-md2man"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/bbonev/yascreen/archive/v$pkgver.tar.gz
	fix-makefile.patch"

build() {
	make PREFIX=/usr
}

package() {
	make PREFIX=/usr DESTDIR="$pkgdir" install
}

sha512sums="
82221cd46ddeff526badbcc030b4b8c412698b332b0a5cc955c7d06b300456bd10237a57c0f6a079a331f9bd9a7326698ff40f63f5a1987b3f3bb90e5bbc72b7  yascreen-1.86.tar.gz
28413677a964c0f0357fa0b731c826773aa7fb7ea096c25460d16c71f51897cec938ff0df9e7a02ec57f46ea66d5bb2c28510e342aec85675ea99fc1aef251f0  fix-makefile.patch
"
